package cn.lili.modules.service;

import cn.lili.modules.operationcenter.entity.dos.OperationCenterWithdrawal;
import cn.lili.modules.operationcenter.entity.dto.OperationCenterWithdrawalDTO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface OperationCenterWithdrawalService extends IService<OperationCenterWithdrawal> {

    Boolean greenWithdrawal (String money);

    Boolean applyWithdrawal (OperationCenterWithdrawal withdrawal);

    List<OperationCenterWithdrawal> exportWithdrawal (OperationCenterWithdrawal operationCenterWithdrawal);

    /**
     * 分页获取绿色积分提现记录
     * @param dto
     * @return
     */
    Page<OperationCenterWithdrawal> selectOperationCenterWithdrawalPageList(OperationCenterWithdrawalDTO dto);
}
